﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.SetupModel
{
    public class SetupRegionsGridViewModel : UserAllPermissionsViewModel
    {
        public List<SetupRegionsGridRowViewModel> Rows { get; set; }
        public List<SelectListItem> Country { get; set; }
        [DisplayName("Country:")]
        public string SelectedRegionCountryIDText { get; set; }
        public string SelectedRegionCountryID { get; set; }
        [DisplayName("Code:")]
        public string RegionCodeText { get; set; }
        [DisplayName("Description:")]
        public string RegionDescriptionText { get; set; }
        public int RegionID { get; set; }
        [DisplayName("Active:")]
        public List<SelectListItem> ActiveSearch { get; set; }
        public bool? IsActiveSearch { get; set; }
        public bool IsDelete { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
        public string Message { get; set; }
    }
    public class SetupRegionsGridRowViewModel
    {
        public int RegionID { get; set; }
        [DisplayName("Country:")]
        public string CountryID { get; set; }
        [DisplayName("Code:")]
        public string RegionCode { get; set; }
        [DisplayName("Description:")]
        public string RegionDescription { get; set; }
        [DisplayName("Active:")]
        public bool IsActive { get; set; }
        public string Message { get; set; }
    }
}